Learn R Programming

bnlearn (version 4.9.4)

test counter: Manipulating the test counter

Description

Check, increment or reset the test/score counter used in structure learning algorithms.

Usage

test.counter()
increment.test.counter(i = 1)
reset.test.counter()

Value

A numeric value, the current value of the test counter.

Arguments

i

a numeric value, which is added to the test counter.

Author

Marco Scutari

Examples

Run this code
data(learning.test)
hc(learning.test)
test.counter()
reset.test.counter()
test.counter()

Run the code above in your browser using DataLab